package interview;

/**
 * User: Asuka
 * Date: 10-12-26
 * Time: 上午9:05
 */
public class PrimeNumber {
    public static void isPrime(int num) {
        if(num % 2 == 1) {
            System.out.println(num % 2 + " ," + true);
            return;
        }
        System.out.println(num % 2 + " ," + false);
    }

    public static void main(String[] args) {
        for(int i = -2; i <= 2; i++) {
            isPrime(i);
        }
    }
}
